package com.xkstream.client.presenter.kt;

import com.xkstream.client.base.BaseData
import com.xkstream.client.base.BasePresenter
import com.xkstream.client.base.BaseView
import com.xkstream.client.entity.kt.RewardData

/**
 * Created by xiaoyi on 2017-11-3.
 */

interface RewardContract {

    interface Presenter : BasePresenter {
        fun getRewardInfo(params: Map<String, Any>)
    }

    interface View : BaseView<Presenter> {
        fun showRewardInfo(data: BaseData<RewardData>)
        fun showError(message: String)
    }
}
